package com.uzai.console.entity.redis;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author liuqi
 * @date 2021年09月28日 11:08
 */
@ApiModel("社群黑名单基础设置Redis对象")
public class WxqBlacklistBaseConfigRedis {
    @ApiModelProperty("私有黑名单（0-不勾选；1-勾选")
    private Integer blackPrvFlag;
    @ApiModelProperty("全网黑名单（0-不勾选；1-勾选")
    private Integer blackPubFlag;
    @ApiModelProperty("加入黑名单成员，自动踢出该群（0-不勾选；1-勾选")
    private Integer autoKickFlag;
    @ApiModelProperty("加入黑名单成员，机器人不回应指令（0-不勾选；1-勾选")
    private Integer noRepayFlag;
    @ApiModelProperty("退群自动拉黑（被踢或者主动退群等情况时拉黑）")
    private Integer autoBlackQuiteGroupFlag;


    public Integer getBlackPrvFlag() {
        if(blackPrvFlag == null){
            blackPrvFlag = 0;
        }
        return blackPrvFlag;
    }

    public void setBlackPrvFlag(Integer blackPrvFlag) {
        this.blackPrvFlag = blackPrvFlag;
    }

    public Integer getBlackPubFlag() {
        if(blackPubFlag == null){
            blackPubFlag = 0;
        }
        return blackPubFlag;
    }

    public void setBlackPubFlag(Integer blackPubFlag) {
        this.blackPubFlag = blackPubFlag;
    }

    public Integer getAutoKickFlag() {
        if(autoKickFlag == null){
            autoKickFlag = 0;
        }
        return autoKickFlag;
    }

    public void setAutoKickFlag(Integer autoKickFlag) {
        this.autoKickFlag = autoKickFlag;
    }

    public Integer getNoRepayFlag() {
        if(noRepayFlag == null){
            noRepayFlag = 0;
        }
        return noRepayFlag;
    }

    public void setNoRepayFlag(Integer noRepayFlag) {
        this.noRepayFlag = noRepayFlag;
    }

    public Integer getAutoBlackQuiteGroupFlag() {

        if(autoBlackQuiteGroupFlag == null){
            autoBlackQuiteGroupFlag = 0;
        }

        return autoBlackQuiteGroupFlag;
    }

    public void setAutoBlackQuiteGroupFlag(Integer autoBlackQuiteGroupFlag) {
        this.autoBlackQuiteGroupFlag = autoBlackQuiteGroupFlag;
    }
}
